using Jupiter.Infrastructure.Requests;

namespace Wips.AppService.Authorities.Organizations.Requests
{
    /// <summary>
    /// 
    /// </summary>
    public class GetOrganizationPagesRequest : GetPageRequestBase
    {

        /// <summary>
        /// 上级id
        /// </summary>
        public string? ParentId { get; set; }
        
        /// <summary>
        /// 过滤字段
        /// </summary>
        public GetOrganizationPagesFilter Filter { get; set; } = new();
    }

    /// <summary>
    /// 读取分页数据过滤字段
    /// </summary>
    public class GetOrganizationPagesFilter
    {
        /// <summary>
        /// 状态
        /// </summary>
        public IList<string>? Status { get; set; }
    }
}